<template>
  <div>
    <el-button text @click="openDialog">click to open the Dialog</el-button>
    <T_DiaLog v-model:model="dialogProfile" @close="close" @submit="close">123</T_DiaLog>
  </div>
</template>
<script lang="ts" setup name="index">
const dialogProfile = ref<boolean>(false)
const openDialog = (): void => {
  dialogProfile.value = true
}
const close = (): void => {
  console.log(1)
}
</script>
<style lang="scss"></style>
